home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
util
/
virus
/
vc2dm10.lha
/
vc2dm.doc
next >
Wrap
Text File
|
1993-03-08
|
2KB
|
61 lines
vm2dm.rexx 1.0
This is an ARexx script for virus checking files
using Disk Master II. It is necessary that you
have Virus Checker version 6.01 or greater
running. Anytime you want to test a file while
working in DM, just select the file that you want
to check and click the new VC button in DMII's
command window. This also works if many files have
been selected at once.If no virus is discovered
the script will print 'File OK' to Disk Master's
title bar briefly. If Virus Checker finds anything
nasty the Workbench screen pops to the front and a
window opens with a message naming the bad file.
This script was tested on files corrupted with the
Xeno virus and it nailed them handily.
If the infected file is writable, Virus
Checker will fix the problem. If the file cannot
be written, because the disk it's on is write
protected or because the write bit of the file is
switched off, Virus Checker can't do anything. It
doesn't report differently than it does in cases
when everything was taken care of. To be certain
select the bad file and hit my VC button again. If
the file is fixed you will only see 'File OK'.
Be careful!
Here's how to install the Disk Master II part:
Load your Disk Master II configuration script into
a text editor. The script is usually called
S:Startup.DM. If you are still using DMII as it
came out of the box you won't find the script
until you have selected 'Save Config' from the
'Project' menu. Then it will be created. Type in
the following command line along with the others
like it, or cut and paste it into Startup.DM
AddCmd VC, 20, REXX vc2dm.rexx %s
Then save the file back, of course. For this
change to take effect you will have to quit and
rerun DMII, or else select S:Startup.DM in one of
DMII's file windows and select 'Run DM Script'
from the 'Tools' menu. The only thing left to do
is to copy the file vc2dm.rexx into your Rexx:
directory. DMII is very handy for this! :() Even
though my script sends the command to DMII to
return its screen to the front, it doesn't work.
If anyone sees the fault in my offering please
send me Email. At least the message comes into
view when a virus is discovered.
Practice Safe Hex!
Joel B. Couch March 7, 1993
Meager Creations
Somervile, Massachusetts, USA
jbciii@world.std.com